﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Application.IServices.IUser
{
    public class LoginResponseDTO
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        //[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public string UId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string? UName { get; set; }

        public string? Token { get; set; }
        public string? TenantId { get; set; }

        /// <summary>
        /// 是否是租户
        /// </summary>
        public bool IsTenant { get; set; }
    }
}
